Public Class Log
    Private mLogId As Guid
    Private mLogTypeId As LogType
    Private mUserId As Guid
    Private mTenantId As Guid
    Private mDate As DateTime
    Private mRequest As String
    Private mDetails As String

    Public Property LogId() As Guid
        Get
            Return mLogId
        End Get
        Set(ByVal value As Guid)
            mLogId = value
        End Set
    End Property

    Public Property LogTypeId() As LogType
        Get
            Return mLogTypeId
        End Get
        Set(ByVal value As LogType)
            mLogTypeId = value
        End Set
    End Property

    Public Property UserId() As Guid
        Get
            Return mUserId
        End Get
        Set(ByVal value As Guid)
            mUserId = value
        End Set
    End Property

    Public Property TenantId() As Guid
        Get
            Return mTenantId
        End Get
        Set(ByVal value As Guid)
            mTenantId = value
        End Set
    End Property

    Public Property [Date]() As DateTime
        Get
            Return mDate
        End Get
        Set(ByVal value As DateTime)
            mDate = value
        End Set
    End Property

    Public Property Request() As String
        Get
            Return mRequest
        End Get
        Set(ByVal value As String)
            mRequest = value
        End Set
    End Property

    Public Property Details() As String
        Get
            Return mDetails
        End Get
        Set(ByVal value As String)
            mDetails = value
        End Set
    End Property
End Class


Public Enum LogType
    LogIn
    LogOut
    [Error]
    Warning
    Information
End Enum
